﻿@model UALSender.Web.Models.Settings
@{
    ViewBag.Title = "Settings";
}
<h2>
    Settings</h2>
<script type="text/javascript">
   
</script>
<table>
    <tr>
        <th>
            Sendings restart interval (minutes)
        </th>
        <th>
            Limit
        </th>
        <th>
            Temp blacklist duration (days)
        </th>
        <th>
        </th>
    </tr>
    <tr>
        <td>
            @Html.DisplayFor(modelItem => Model.Interval)
        </td>
        <td>
            @Html.DisplayFor(modelItem => Model.Limit)
        </td>
        <td>
            @Html.DisplayFor(modelitem => Model.BlackListDuration)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id = Model.Id })
        </td>
    </tr>
</table>
<div>
    <input type="button" name="sendProfileIntros" value="Send intros from profile" onclick="StartSendProfileIntros();" />&nbsp;
    <input type="button" name="sendWinks" value="Send winks" onclick="StartSendWinks();" />
    <input type="button" name="sendAll" value="Send all" onclick="StartSendAll();" />
    <input type="button" name="stopAll" value="Stop all" onclick="StopAll();" />
</div>
